package com.lagou.bean;

public class RpcInfo {
    /**
     * 方法名
     */
    private String methodName;

    /**
     * 请求耗时
     */
    private long spendTime;

    /**
     * 调用时间
     */
    private long callTime;

    public RpcInfo(String methodName, long spendTime, long callTime) {
        this.methodName = methodName;
        this.spendTime = spendTime;
        this.callTime = callTime;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public long getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(long spendTime) {
        this.spendTime = spendTime;
    }

    public long getCallTime() {
        return callTime;
    }

    public void setCallTime(long callTime) {
        this.callTime = callTime;
    }
}
